package com.zjhn.ds.param;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @BelongsProject: ds_jlw
 * @BelongsPackage: com.zjhn.ds.param
 * @Author: sxt
 * @CreateTime: 2023-09-28  09:58
 * @Description:
 * @Version: 1.0
 */
@Data
public class AssignTaskBatchParam {

    @ApiModelProperty("工位id")
    @JsonProperty("station_id")
    @NotBlank(message = "工位id不能为空")
    private String stationId;

    @ApiModelProperty("派工数量")
    @JsonProperty("assign_qty")
    @NotNull(message = "派工数量不能为空")
    private BigDecimal assignQty;

}
